package com.zhentao.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zhentao.domain.SExaminationInformation;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zhentao.domain.dto.SExaminationInformationDto;
import com.zhentao.domain.dto.SExaminationInformationExport;
import org.apache.ibatis.annotations.Param;

import java.util.ArrayList;
import java.util.List;

/**
* @author 86150
* @description 针对表【s_examination_information】的数据库操作Mapper
* @createDate 2024-07-24 19:12:34
* @Entity com.zhentao.domain.SExaminationInformation
*/
public interface SExaminationInformationMapper extends BaseMapper<SExaminationInformation> {


    /**
     * 获取考试信息列表
     * @param page
     * @param dto
     * @return
     */
    Page<SExaminationInformation> getExaminationInfoList(@Param("page") Page<SExaminationInformation> page, @Param("dto") SExaminationInformationDto dto);

    SExaminationInformation getExaminationInfoById(@Param("id") Integer id);

    List<SExaminationInformation> getSExaminationInformationExport();

    Page<SExaminationInformation> getExaminationInfoListByTeacherId(@Param("page") Page<SExaminationInformation> page,@Param("classIds")  List<Integer> classIds, @Param("dto") SExaminationInformationDto dto);

    Integer getTestNum();
}




